package com.hue.springcloud.service.impl;

import com.hue.springcloud.service.ConsumerService;
import org.springframework.stereotype.Component;

/*
    服务降级的类
 */
@Component
public class ConsumerServiceImpl implements ConsumerService {
    @Override
    public String findById(long id) {
        return "发生服务降级";
    }
}
